package cn.edu.jsu.zjj.model.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

@Data
@ApiModel(value = "修改密码",description = "修改密码")
public class UserUpdatePassword {
    @ApiModelProperty(value = "用户id", required = true)
    private Long userId;
    @ApiModelProperty(value = "旧密码",required = true)
    private String oldPassword;
    @ApiModelProperty(value = "新密码",required = true)
    private String newPassword;
    @ApiModelProperty(value = "确认密码",required = true)
    private String confirmPassword;
    @ApiModelProperty(value = "修改密码or重置密码（修改为false，重置为true", required = true)
    private Boolean isReset;
}
